package com.bysc.commonutils.vo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 活动表
 * </p>
 *
 * @author kkk
 * @since 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsActivity对象", description="活动表")
public class CmsActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    @ApiModelProperty(value = "归属社团id")
    private String clubId;

    @ApiModelProperty(value = "活动名称")
    private String subject;

    @ApiModelProperty(value = "活动类型")
    private String activityType;

    @ApiModelProperty(value = "活动地址")
    private String address;

    @ApiModelProperty(value = "活动规则")
    private String rules;

    @ApiModelProperty(value = "联系方式")
    private String contactInfo;

    @ApiModelProperty(value = "活动报名开始时间")
    private String joinStart;

    @ApiModelProperty(value = "活动报名截至时间")
    private String joinEnd;

    @ApiModelProperty(value = "活动开始时间")
    private String activityStart;

    @ApiModelProperty(value = "活动结束时间")
    @TableField("activity_end")
    private String activityEnd;

    @ApiModelProperty(value = "参赛对象要求")
    private String participantRequirements;

    @ApiModelProperty(value = "评分标准")
    private String evaluationCriteria;

    @ApiModelProperty(value = "奖项设置")
    private String awardSettings;

    @ApiModelProperty(value = "活动人数限制")
    @TableField("a_limit")
    private Integer aLimit;

    @ApiModelProperty(value = "活动状态名称")
    @TableField(exist = false)
    private String statusName;
    @ApiModelProperty(value = "活动状态")
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    @ApiModelProperty(value = "逻辑删除（0未删除、1已删除）")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
